package cn.hackcloud.mybatis.bean;

import java.io.Serializable;

import cn.hackcloud.mybatis.enums.EmpStatus;

public class Employee implements Serializable {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private String gender;
	private String email;
	private EmpStatus empStatus = EmpStatus.LOGOUT;
	private Department dept;

	public EmpStatus getEmpStatus() {
		return empStatus;
	}

	public void setEmpStatus(EmpStatus empStatus) {
		this.empStatus = empStatus;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	public Employee() {
		super();
	}

	public Employee(Integer id, String name, String gender, String email) {
		super();
		this.id = id;
		this.name = name;
		this.gender = gender;
		this.email = email;
	}

	public Employee(Integer id, String name, String gender, String email, Department dept) {
		super();
		this.id = id;
		this.name = name;
		this.gender = gender;
		this.email = email;
		this.dept = dept;
	}

	@Override
	public String toString() {
		return "Employee [id=" + id + ", name=" + name + ", gender=" + gender + ", email=" + email + ", empStatus="
				+ empStatus + "]";
	}

}
